<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="language" content="en" />
        <link rel="stylesheet" type="text/css" href="<?php echo bu(); ?>/css/common.css" />
        <script type="text/javascript" src="<?php echo bu(); ?>/js/common.js"></script>
        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
    </head>
    <body>
        <div class="wrap">
            <div class="header">
                <div class="top">
                    <?php echo l('网站首页', array('/site')); ?> |
                    <a href="#">加入收藏</a> |
                    <a href="#">设为首页</a> |
                    <?php echo l('联系我们', array('/contact')); ?>
                </div>
                <div class="navCon">
                    <div class="logo"><img src="<?php echo bu(); ?>/images/logo.jpg" /></div>
                    <div class="navlist">
                        <div class="nleft"></div>
                        <div class="nmiddle">
                            <?php
                            $this->widget('zii.widgets.CMenu', array(
                                'items' => array(
                                    array('label' => '关于欧信', 'url' => array('/about')),
                                    array('label' => '经营合作', 'url' => array('/hz')),
                                    array('label' => '精彩瞬间', 'url' => array('/photo')),
                                    array('label' => '新闻中心', 'url' => array('/news')),
                                    array('label' => '欧信户外', 'url' => array('/contact')),
                                    array('label' => '产品销售', 'url' => array('/product')),
                                ),
                            ));
                            ?>
                        </div>
                        <div class="nright"></div>
                    </div>
                </div>
            </div>
            
            <?php echo $content; ?>

            <div class="footer">
                <div class="fleft"></div>
                <div class="fmiddle">
                    <p>
                        <font class="h3">深圳市欧信体育管理有限公司版权所有</font>&nbsp;&nbsp;&nbsp;
                        <a href="http://www.miibeian.gov.cn/">粤ICP备08004569号</a>
                    </p>
                    <p class="h6">COPYRIGHT &copy; 2008 OCEN. ALL RIGHTS RESERVED. OCEN SPORTS MANAGEMENT COMPANY</p>
                </div>
                <div class="fright"></div>
            </div>
        </div>
    </body>
    <script>
        var speed=20;
        var tab=document.getElementById("cslide");
        var tab1=document.getElementById("box1");
        var tab2=document.getElementById("box2");
        tab2.innerHTML=tab1.innerHTML;
        function marquee(){
            if (tab2.offsetWidth-tab.scrollLeft<=0)
                tab.scrollLeft-=tab1.offsetWidth
            else
                tab.scrollLeft++;
        }
        var obj = setInterval(marquee,speed);
        tab.onmouseover = function() {
            clearInterval(obj)
        };
        tab.onmouseout = function() {
            obj = setInterval(marquee,speed)
        };
    </script>
</html>
